﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000083 RID: 131
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class AlleyEventChangeNotify : IMessage<AlleyEventChangeNotify>, IMessage, IEquatable<AlleyEventChangeNotify>, IDeepCloneable<AlleyEventChangeNotify>, IBufferMessage
	{
		// Token: 0x1700019C RID: 412
		// (get) Token: 0x060005B9 RID: 1465 RVA: 0x00010ED1 File Offset: 0x0000F0D1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<AlleyEventChangeNotify> Parser
		{
			get
			{
				return AlleyEventChangeNotify._parser;
			}
		}

		// Token: 0x1700019D RID: 413
		// (get) Token: 0x060005BA RID: 1466 RVA: 0x00010ED8 File Offset: 0x0000F0D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return AlleyEventChangeNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700019E RID: 414
		// (get) Token: 0x060005BB RID: 1467 RVA: 0x00010EEA File Offset: 0x0000F0EA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return AlleyEventChangeNotify.Descriptor;
			}
		}

		// Token: 0x060005BC RID: 1468 RVA: 0x00010EF1 File Offset: 0x0000F0F1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AlleyEventChangeNotify()
		{
		}

		// Token: 0x060005BD RID: 1469 RVA: 0x00010EFC File Offset: 0x0000F0FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AlleyEventChangeNotify(AlleyEventChangeNotify other) : this()
		{
			this.fPKNCHKBHPK_ = other.fPKNCHKBHPK_;
			this.oMPJNNIJNPL_ = ((other.oMPJNNIJNPL_ != null) ? other.oMPJNNIJNPL_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060005BE RID: 1470 RVA: 0x00010F48 File Offset: 0x0000F148
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AlleyEventChangeNotify Clone()
		{
			return new AlleyEventChangeNotify(this);
		}

		// Token: 0x1700019F RID: 415
		// (get) Token: 0x060005BF RID: 1471 RVA: 0x00010F50 File Offset: 0x0000F150
		// (set) Token: 0x060005C0 RID: 1472 RVA: 0x00010F58 File Offset: 0x0000F158
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FPKNCHKBHPK
		{
			get
			{
				return this.fPKNCHKBHPK_;
			}
			set
			{
				this.fPKNCHKBHPK_ = value;
			}
		}

		// Token: 0x170001A0 RID: 416
		// (get) Token: 0x060005C1 RID: 1473 RVA: 0x00010F61 File Offset: 0x0000F161
		// (set) Token: 0x060005C2 RID: 1474 RVA: 0x00010F69 File Offset: 0x0000F169
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DCMCLLPDDJO OMPJNNIJNPL
		{
			get
			{
				return this.oMPJNNIJNPL_;
			}
			set
			{
				this.oMPJNNIJNPL_ = value;
			}
		}

		// Token: 0x060005C3 RID: 1475 RVA: 0x00010F72 File Offset: 0x0000F172
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as AlleyEventChangeNotify);
		}

		// Token: 0x060005C4 RID: 1476 RVA: 0x00010F80 File Offset: 0x0000F180
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(AlleyEventChangeNotify other)
		{
			return other != null && (other == this || (this.FPKNCHKBHPK == other.FPKNCHKBHPK && object.Equals(this.OMPJNNIJNPL, other.OMPJNNIJNPL) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060005C5 RID: 1477 RVA: 0x00010FD0 File Offset: 0x0000F1D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.FPKNCHKBHPK != 0U)
			{
				num ^= this.FPKNCHKBHPK.GetHashCode();
			}
			if (this.oMPJNNIJNPL_ != null)
			{
				num ^= this.OMPJNNIJNPL.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060005C6 RID: 1478 RVA: 0x00011025 File Offset: 0x0000F225
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060005C7 RID: 1479 RVA: 0x0001102D File Offset: 0x0000F22D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060005C8 RID: 1480 RVA: 0x00011038 File Offset: 0x0000F238
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.oMPJNNIJNPL_ != null)
			{
				output.WriteRawTag(66);
				output.WriteMessage(this.OMPJNNIJNPL);
			}
			if (this.FPKNCHKBHPK != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.FPKNCHKBHPK);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060005C9 RID: 1481 RVA: 0x00011094 File Offset: 0x0000F294
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.FPKNCHKBHPK != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FPKNCHKBHPK);
			}
			if (this.oMPJNNIJNPL_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.OMPJNNIJNPL);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060005CA RID: 1482 RVA: 0x000110EC File Offset: 0x0000F2EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(AlleyEventChangeNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.FPKNCHKBHPK != 0U)
			{
				this.FPKNCHKBHPK = other.FPKNCHKBHPK;
			}
			if (other.oMPJNNIJNPL_ != null)
			{
				if (this.oMPJNNIJNPL_ == null)
				{
					this.OMPJNNIJNPL = new DCMCLLPDDJO();
				}
				this.OMPJNNIJNPL.MergeFrom(other.OMPJNNIJNPL);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060005CB RID: 1483 RVA: 0x00011154 File Offset: 0x0000F354
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060005CC RID: 1484 RVA: 0x00011160 File Offset: 0x0000F360
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 66U)
				{
					if (num != 96U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.FPKNCHKBHPK = input.ReadUInt32();
					}
				}
				else
				{
					if (this.oMPJNNIJNPL_ == null)
					{
						this.OMPJNNIJNPL = new DCMCLLPDDJO();
					}
					input.ReadMessage(this.OMPJNNIJNPL);
				}
			}
		}

		// Token: 0x04000213 RID: 531
		private static readonly MessageParser<AlleyEventChangeNotify> _parser = new MessageParser<AlleyEventChangeNotify>(() => new AlleyEventChangeNotify());

		// Token: 0x04000214 RID: 532
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000215 RID: 533
		public const int FPKNCHKBHPKFieldNumber = 12;

		// Token: 0x04000216 RID: 534
		private uint fPKNCHKBHPK_;

		// Token: 0x04000217 RID: 535
		public const int OMPJNNIJNPLFieldNumber = 8;

		// Token: 0x04000218 RID: 536
		private DCMCLLPDDJO oMPJNNIJNPL_;
	}
}
